package com.gr.blog.utils;

import java.util.List;

public class PageHelperUtils<T> {

	private List<T> root;
	
	private int total;

	public PageHelperUtils() {
		super();
	}

	public PageHelperUtils(List<T> root, int total) {
		super();
		this.root = root;
		this.total = total;
	}

	public List<T> getRoot() {
		return root;
	}

	public void setRoot(List<T> root) {
		this.root = root;
	}

	public int getTotal() {
		return total;
	}

	public void setTotal(int total) {
		this.total = total;
	}

	@Override
	public String toString() {
		return "PageHelperUtils [root=" + root + ", total=" + total + "]";
	}
	
	
}
